﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Skyworth.CRM.Service.Entity
{
    /// <summary>
    /// Roles:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class Roles
    {
        public Roles()
        { }
        #region Model
        private int _roleid;
        private string _rolename;
        private string _roledescription;
        private bool _isdelete =false;
        private DateTime _createtime = DateTime.Now;
        private DateTime _lastmodifytime = DateTime.Now;
        /// <summary>
        /// 角色ID
        /// </summary>
        public int RoleId
        {
            set { _roleid = value; }
            get { return _roleid; }
        }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName
        {
            set { _rolename = value; }
            get { return _rolename; }
        }
        /// <summary>
        /// 说明
        /// </summary>
        public string RoleDescription
        {
            set { _roledescription = value; }
            get { return _roledescription; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool IsDelete
        {
            set { _isdelete = value; }
            get { return _isdelete; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime LastModifyTime
        {
            set { _lastmodifytime = value; }
            get { return _lastmodifytime; }
        }
        #endregion Model

    }
}
